package com.scs.service;

import com.scs.pojo.Identity;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Service;

import java.util.List;

public interface IdentityService {

    int addIdentity(Identity identity);

    int deleteIdentity(Integer identityId);


    int updateIdentity(String identity,String description,Integer identityId);

    List<Identity> getAllIdentity();
}
